<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>供应商添加</title>
    <link rel="stylesheet" href="/layui/css/layui.css" media="all">

</head>
<body>
<form class="layui-form" action="" style="margin-top: 10px;">
    <div class="layui-form-item">
        <label class="layui-form-label">用户标识</label>
        <div class="layui-input-block">
            <input type="text" name="user_id" required  lay-verify="required" placeholder="请输入用户标识" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">甲方名称</label>
        <div class="layui-input-block">
            <input type="text" name="user_name" required  lay-verify="required" placeholder="请输入甲方名称" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">实名认证</label>
        <div class="layui-input-block">
            <select name="realname_supplier" lay-verify="required">
                @foreach($res['data'][0]['supplier_list'] as $key => $val)
                    <option value="{{$val}}">{{$val}}</option>
                @endforeach
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">手机认证</label>
        <div class="layui-input-block">
            <select name="phone_supplier" lay-verify="required">
                @foreach($res['data'][1]['supplier_list'] as $key => $val)
                    <option value="{{$val}}">{{$val}}</option>
                @endforeach
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">银行卡认证</label>
        <div class="layui-input-block">
            <select name="bank_supplier" lay-verify="required">
                @foreach($res['data'][2]['supplier_list'] as $key => $val)
                    <option value="{{$val}}">{{$val}}</option>
                @endforeach
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">准入分认证</label>
        <div class="layui-input-block">
            <select name="base_score_supplier" lay-verify="required">
                @foreach($res['data'][3]['supplier_list'] as $key => $val)
                    <option value="{{$val}}">{{$val}}</option>
                @endforeach
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">置信分认证</label>
        <div class="layui-input-block">
            <select name="believe_score_supplier" lay-verify="required">
                @foreach($res['data'][4]['supplier_list'] as $key => $val)
                    <option value="{{$val}}">{{$val}}</option>
                @endforeach
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">行为分认证</label>
        <div class="layui-input-block">
            <select name="behavior_score_supplier" lay-verify="required">
                @foreach($res['data'][5]['supplier_list'] as $key => $val)
                    <option value="{{$val}}">{{$val}}</option>
                @endforeach
            </select>
        </div>
    </div>
</form>
<script src="/layui/layui.all.js"></script>
<script>

</script>
</body>
</html>